package com.atguigu.seckill.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
/*测试案例，测试项目是否搭建成功*/
public class TestDemo {

    @RequestMapping("/test")
    public String getTest(Model model){
        model.addAttribute("name","sjj");
        return "hello";
    }
}
